package com.blast.manager.uitl

import com.lzy.okgo.model.HttpParams
import com.wxl.common.http.OkGoApi
import com.wxl.common.http.SerialHttpCallback
import com.wxl.common.room.entity.ContractInfoEntity

class ManagerHttpUtil {
    companion object {

        /**
         * 获取合同信息
         */
        fun getHtInfo(buydept:String,callback:SerialHttpCallback<ContractInfoEntity>){
            val param = HttpParams()
            param.put("action","getContractInfo")
            param.put("buydept",buydept)
            OkGoApi.api.get()
                .params(param)
                .execute(callback)
        }
    }
}